package x.zero.mapper;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.Select;
import org.beetl.sql.mapper.annotation.Sql;
import org.beetl.sql.mapper.annotation.Update;
import org.springframework.transaction.annotation.Transactional;
import x.zero.pojo.entity.*;
/*
*
* gen by beetlsql3 mapper 2021-01-15
*/
public interface SysRolePermissionMapper extends BaseMapper<SysRolePermission> {

    @Sql(value = "DELETE FROM sys_role_permission where role_id = ?")
    @Update
    void deleteByRoleId(Long roleId);
}
